﻿namespace Proxy
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "Proxy.ISELabor")]
    public interface ISELabor
    {

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Listar", ReplyAction = "http://tempuri.org/ISELabor/ListarResponse")]
        Labor[] Listar();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Insertar", ReplyAction = "http://tempuri.org/ISELabor/InsertarResponse")]
        int Insertar(Labor request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Modificar", ReplyAction = "http://tempuri.org/ISELabor/ModificarResponse")]
        void Modificar(Labor request);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Eliminar", ReplyAction = "http://tempuri.org/ISELabor/EliminarResponse")]
        void Eliminar(int codigoLabor);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Buscar", ReplyAction = "http://tempuri.org/ISELabor/BuscarResponse")]
        LaborResponse[] Buscar(string nombre);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Obtener", ReplyAction = "http://tempuri.org/ISELabor/ObtenerResponse")]
        Labor Obtener(int codigoLabor);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/ListItemCollection", ReplyAction = "http://tempuri.org/ISELabor/ListItemCollectionResponse")]
        ListItemInt[] ListItemCollection();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/ListarLabor", ReplyAction = "http://tempuri.org/ISELabor/ListarLaborResponse")]
        LaborResponse[] ListarLabor();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/ObtenerListItem", ReplyAction = "http://tempuri.org/ISELabor/ObtenerListItemResponse")]
        ListItemInt[] ObtenerListItem();

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/ValidarNombreLabor", ReplyAction = "http://tempuri.org/ISELabor/ValidarNombreLaborResponse")]
        bool ValidarNombreLabor(string nombreLabor, int cuadrante, int codigoLabor);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/GenerarNombreLabor", ReplyAction = "http://tempuri.org/ISELabor/GenerarNombreLaborResponse")]
        string GenerarNombreLabor(int codigoTipoLabor, string nivel, string seccion, int codigoDireccion, string direccionChimenea);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/Buscar1", ReplyAction = "http://tempuri.org/ISELabor/Buscar1Response")]
        buscarLabor_Result[] Buscar1(string nombre);

        [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/ISELabor/ValidarNombreLabor1", ReplyAction = "http://tempuri.org/ISELabor/ValidarNombreLabor1Response")]
        bool ValidarNombreLabor1(string nombreLabor, int codigoLabor);
    }

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ISELaborChannel : ISELabor, System.ServiceModel.IClientChannel
    {
    }

    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SELaborClient : System.ServiceModel.ClientBase<ISELabor>, ISELabor
    {

        public SELaborClient()
        {
        }

        public SELaborClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public SELaborClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SELaborClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public SELaborClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }

        public Labor[] Listar()
        {
            return base.Channel.Listar();
        }

        public int Insertar(Labor request)
        {
            return base.Channel.Insertar(request);
        }

        public void Modificar(Labor request)
        {
            base.Channel.Modificar(request);
        }

        public void Eliminar(int codigoLabor)
        {
            base.Channel.Eliminar(codigoLabor);
        }

        public LaborResponse[] Buscar(string nombre)
        {
            return base.Channel.Buscar(nombre);
        }

        public Labor Obtener(int codigoLabor)
        {
            return base.Channel.Obtener(codigoLabor);
        }

        public ListItemInt[] ListItemCollection()
        {
            return base.Channel.ListItemCollection();
        }

        public LaborResponse[] ListarLabor()
        {
            return base.Channel.ListarLabor();
        }

        public ListItemInt[] ObtenerListItem()
        {
            return base.Channel.ObtenerListItem();
        }

        public bool ValidarNombreLabor(string nombreLabor, int cuadrante, int codigoLabor)
        {
            return base.Channel.ValidarNombreLabor(nombreLabor, cuadrante, codigoLabor);
        }

        public string GenerarNombreLabor(int codigoTipoLabor, string nivel, string seccion, int codigoDireccion, string direccionChimenea)
        {
            return base.Channel.GenerarNombreLabor(codigoTipoLabor, nivel, seccion, codigoDireccion, direccionChimenea);
        }

        public buscarLabor_Result[] Buscar1(string nombre)
        {
            return base.Channel.Buscar1(nombre);
        }

        public bool ValidarNombreLabor1(string nombreLabor, int codigoLabor)
        {
            return base.Channel.ValidarNombreLabor1(nombreLabor, codigoLabor);
        }
    }

}